'use strict';

module.exports = app => {
    const {INTEGER,STRING} = app.Sequelize;

    const FileModel = app.model.define('file', {
        id: {type: INTEGER, primaryKey: true, autoIncrement: true},
        file: STRING,
        used: INTEGER,
        extname: STRING,
    },{
        timestamps: false,
    });

    return FileModel;
}